<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
	{{include file='VIEW_PATH/Common/header2.php'}}
		<!-- 顶部结束 -->
		<!--顶部分搜索区域-->
		<div class="top_search top_search_box">
			<img src="Public/Home/images/bg1.png" alt="" class="logo" />
			<form class="search_box search_box2" action="" method="post">
				<input class="text" type="text" name="" id=""  placeholder="魅族"/>
				<input class="sub" type="submit" value="搜索"/>
			</form>
		</div>		
	<!--顶部导航区域结束-->
	</header>
<!--头部共公布分结束-->

<form action="" method="post">	
<!--购物车内容部分-->
	<div class="shopbox">		
		<!--提示登录部分-->
		<?php if(empty($_SESSION['uid'])) {?>
		<div class="tishi">
			<div class="zhong">
				<span class="tu"></span>
				<p> 您还没有登录！登录后购物车的商品将保存到您账号中</p>
				<a href="{{U('index/login')}}" class="login">立即登录</a>
			</div>
		</div>
		<?php } ?>
		<!--提示登录部分结束-->
		<!--商品分类部分-->
		<div class="allshop">
			<p class="quan">全部商品<span>{{$_SESSION['cart']['total_rows']}}</span></p>
			<div class="pai">				
				<div class="dizhi">
					北京朝阳区三环到四环之间
					<i class="iconfont">&#xe6a6;</i>
				</div>
				<p>派送至：</p>
			</div>
		</div>
		<!--商品分类部分结束-->
		<div class="hong"><p></p></div>
		<div class="yindao">
			<div class="tiao">
				<input type="checkbox" name="" id="" class="check"/>
				<span class="all1">全选</span>
				<span class="all2">商品</span>
				<span class="all3">单价</span>
				<span class="all4">数量</span>
				<span class="all5">小计（元）</span>
				<span class="all6">操作</span>
			</div>			
		</div>
		<!--京东自营提示选框-->
		<div class="ziying">
			<input type="checkbox" name="" id="" />
			<a href="">京东自营</a>
		</div>
		<!--自营选框结束-->
		<!--商品信息部分-->
		<?php if(isset($_SESSION['cart'])) {?>
		{{foreach from="$_SESSION['cart']['goods']" key='$k' value='$v'}}
		<div class="thing">
			<input num="{{$v['num']}}" type="checkbox" name="" id="" class="checkbox"/>
			<img src="{{$v['img']}}" alt="" class="image" />
			<a href="" class="des"> {{$v['name']}} 智能4K超清平板电视
				{{foreach from="$v['options']" key="$kk" value='$vv'}}
					{{$kk}}{{$vv}}
				{{endforeach}}
				</a>
			<span class="meony"></span>
			<div class="math">
				<p class="jianhao">-</p>
				<div key="{{$k}}" class="shu">{{$v['num']}}</div>
				<p class="jiahao">+</p>
			</div>
			<span class="youhui">有货</span>
			<span class="alljia">{{$v['total']}}</span>
			<a key="{{$k}}" href="javascript:;" class="del">删除</a>
			<a href="" class="fus">移到我的关注</a>
			<input class="addition" key="{{$k}}" type="hidden" name="addition[]" value=""/>
		</div>
		{{endforeach}}
		<?php } ?>
		<!--商品信息部分写书-->
	</div>
	<!--结算部部分-->
	<div class="endmath">
		<div class="middle">
			<div class="left">
				<input class="check" type="checkbox" name="" id="" />
				<span class="checkall">全选</span>
				<a href="" class="delcheck">删除选中的商品</a>
				<a href="" class="moveshop">移到我的关注</a>
			</div>
			<input class="right" type="submit" value="去结算" />
			<div class="center">
				
 



				<div class="c-t">
					<span class="shuliang">已选择<span>0</span>件商品</span>
					<i class="iconfont">&#xe6a6;</i>
					<span class="total">总价（不含运费）：</span>
					<span class="price">￥<span>0</span></span>
				</div>
				<div class="c-b">已节省： - ¥0.00</div>
			</div>
		</div>
	</div>
	<!--结算部分结束-->
</form>	
	
	
	
<!--购物车内容部分结束-->






<!--公共尾部-->
<footer>
	<div class="sixbian">
		<div class="tua">
			<img src="Public/Home/images/bg24.png" alt="" />	
			<img src="Public/Home/images/bg25.png" alt="" />
			<img src="Public/Home/images/bg26.png" alt="" />
			<img src="Public/Home/images/bg27.png" alt="" />
		</div>
	</div>
	<div class="jieshao">
		<dl>
			<dt>购物指南</dt>
			<dd>购物流程</dd>
			<dd>会员介绍</dd>
			<dd>生活旅行/团购</dd>
			<dd>常见问题</dd>
		</dl>
			<dl>
			<dt>购物指南</dt>
			<dd>购物流程</dd>
			<dd>会员介绍</dd>
			<dd>生活旅行/团购</dd>
			<dd>常见问题</dd>
		</dl>
			<dl>
			<dt>购物指南</dt>
			<dd>购物流程</dd>
			<dd>会员介绍</dd>
			<dd>生活旅行/团购</dd>
			<dd>常见问题</dd>
		</dl>
			<dl>
			<dt>购物指南</dt>
			<dd>购物流程</dd>
			<dd>会员介绍</dd>
			<dd>生活旅行/团购</dd>
			<dd>常见问题</dd>
		</dl>	
		<dl>
			<dt>购物指南</dt>
			<dd>购物流程</dd>
			<dd>会员介绍</dd>
			<dd>生活旅行/团购</dd>
			<dd>常见问题</dd>
		</dl>
		<div class="ditu">
			<p class="a1">京东自营覆盖区县 </p>
			<p class="a2">京东已向全国2376个区县提供自营配送服务，支持货到付款、POS机刷卡和售后上门服务。</p>
			<a class="a3" href="">查看详情 ></a>
		</div>
	</div>
	<div class="bi">
		<ul class="ul">
			<li>关于我们<span>|</span></li>
			<li>联系我们<span>|</span></li>
			<li>商家入驻<span>|</span></li>
			<li>营销中心<span>|</span></li>
			<li>手机京东<span>|</span></li>
			<li>友情链接<span>|</span></li>
			<li>销售联盟<span>|</span></li>
			<li>京东社区<span>|</span></li>
			<li>京东公益<span>|</span></li>
			<li>English<span>|</span></li>
			<li>Contact<span>|</span></li>
			<li>Us<span>|</span></li>
			<li>Site</li>			
		</ul>
		<center class="b">北京市公安局朝阳分局备案编号110105014669  |  京ICP证070359号  |  互联网药品信息服务资格证编号(京)-经营性-2014-0008  |  新出发京零 字第大120007号</center>
		<center class="b2">音像制品经营许可证苏宿批005号  |  出版物经营许可证编号新出发(苏)批字第N-012号  |  互联网出版许可证编号新出网证(京)字150号</center>
		<center class="b3">网络文化经营许可证京网文[2014]2148-348号  违法和不良信息举报电话：4006561155  Copyright © 2004-2016  京东JD.com 版权所有</center>
		<center class="b4">京东旗下网站：360TOP  拍拍网  网银在线</center>
		<center class="b5">
			<img src="Public/Home/images/bg21.png" alt="" />
			<img src="Public/Home/images/bg22.png" alt="" />
			<img src="Public/Home/images/bg23.png" alt="" />
			<img src="Public/Home/images/bg29.png" alt="" />
			<img src="Public/Home/images/bg28.png" alt="" />
		</center>
	</div>
</footer>
<!--公共尾部结束-->
</body>
</html>
